package com.xiaomengkuan.test.dao;

import com.xiaomengkuan.test.entity.pojo.Tag;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Faraj Mujey
 * -- Creation Time: 2021-01-07 1:52 下午, File Encoding: utf8 --
 */
@Repository
public interface TagRepository extends JpaRepository<Tag,Integer> {
    List<Tag> findAllByType(int type);
}
